﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class TaiKhoanNguoiDungBUS
    {
        public static List<TaiKhoanNguoiDung> LayDS()
        {
            return TaiKhoanNguoiDungDAO.LayDS();
        }

        public static bool Them(TaiKhoanNguoiDung aCT)
        {
            return TaiKhoanNguoiDungDAO.Them(aCT);
        }

        public static bool Xoa(int maCT)
        {
            return TaiKhoanNguoiDungDAO.Xoa(maCT);
        }

        public static TaiKhoanNguoiDung DangNhap(string ten, string pass)
        {
            return TaiKhoanNguoiDungDAO.DangNhap(ten, pass);
        }
    }
}
